package com.huajx.core.handler;

import com.huajx.core.message.RequestMessage;
import com.huajx.core.message.ResponseMessage;
import org.apache.mina.core.session.IoSession;

/**
 * 消息处理适配器
 */
public interface HandlerAdapter {
    ResponseMessage handler(RequestMessage request);

    void render(IoSession session);
}
